<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Login extends Model
{
    protected $table='admin';
//    登录
static function loginData($postData){
    return self::where('phone',$postData)->find();
}
}
